package com.youlai.boot.factory.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 租户基本信息视图对象
 *
 * @author youlaitech
 * @since 2025-11-22 08:24
 */
@Getter
@Setter
@Schema( description = "租户基本信息视图对象")
public class SysTenantVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "租户ID")
    private Long id;
    @Schema(description = "租户编码（唯一标识）")
    private String tenantCode;
    @Schema(description = "租户名称")
    private String tenantName;
    @Schema(description = "工厂名称")
    private String factoryName;
    @Schema(description = "联系人姓名")
    private String contactName;
    @Schema(description = "手机号")
    private String mobilePhone;
    @Schema(description = "邮箱")
    private String email;
    @Schema(description = "工厂地址")
    private String address;
    @Schema(description = "工厂人数")
    private Integer employeeCount;
    @Schema(description = "行业类型")
    private String industryType;
    @Schema(description = "申请人OpenID（关联global_sys_user.openid）")
    private String applicantOpenid;
    @Schema(description = "申请人用户ID（关联global_sys_user.id）")
    private Long applicantUserId;
    @Schema(description = "租户状态：1-正常 2-试用 3-已过期 0-已禁用")
    private Integer status;
    @Schema(description = "过期时间")
    private LocalDateTime expireTime;
    @Schema(description = "套餐类型：1-免费版 2-基础版 3-专业版 4-企业版")
    private Integer packageType;
    @Schema(description = "最大用户数限制")
    private Integer maxUsers;
    @Schema(description = "最大存储空间(字节)，默认1GB")
    private Long maxStorage;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "创建人ID")
    private Long createBy;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    @Schema(description = "更新人ID")
    private Long updateBy;
    @Schema(description = "逻辑删除(1-已删除 0-未删除)")
    private Integer isDeleted;
}
